package connection

import "golang.org/x/net/websocket"

// Connections todo 设置一个存储所有客服端数据的map
var Connections map[string]*Connection = make(map[string]*Connection)

// Connection todo 设置结构体存储客服端的数据
type Connection struct {
	Uid string
	Conn *websocket.Conn
	UserInfo map[string]string
}